From 636a81e9701d001f4c9108f722014f48f59eabbd Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Mon, 6 Jun 2005 20:28:33 +0000 Subject: [PATCH] bitkeeper revision 1.1662.1.14 (42a4b1f1ZyB5X1YlXHuUGf5X8C-gvQ) XendDomainInfo.py: Cleanup store channel. Signed-off-by: Mike Wray Signed-off-by: Christian Limpach --- tools/python/xen/xend/XendDomainInfo.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index fc03dbf048..97d6dbbf31 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -577,6 +577,12 @@ class XendDomainInfo: self.channel = None except: pass + if self.store_channel: + try: + self.store_channel.close() + self.store_channel = None + except: + pass if self.image: try: self.image.destroy() -- 2.30.2